// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * AmazonStockTaking
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "amazon_stock_taking", autoResultMap = true)
@Schema(title = "亚马逊盘存表")
public class AmazonStockTaking implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * ASIN
   */
  @TableField(value = "`asin`")
  @Schema(title = "ASIN")
  private String asin;

  /**
   * 店铺
   */
  @TableField(value = "`sid`")
  @JoinField(ShopInfo.class)
  @Schema(title = "店铺")
  private Long sid;

  /**
   * 国家
   */
  @TableField(value = "`country`")
  @JoinField(SysRegion.class)
  @Schema(title = "国家")
  private Long country;

  /**
   * 发货日期
   */
  @TableField(value = "`report_date`")
  @Schema(title = "发货日期")
  private java.util.Date reportDate;

  /**
   * 交易编号
   */
  @TableField(value = "`reference_id`")
  @Schema(title = "交易编号")
  private String referenceId;

  /**
   * MSKU
   */
  @TableField(value = "`msku`")
  @Schema(title = "MSKU")
  private String msku;

  /**
   * FNSKU
   */
  @TableField(value = "`fnsku`")
  @Schema(title = "FNSKU")
  private String fnsku;

  /**
   * 标题
   */
  @TableField(value = "`title`")
  @Schema(title = "标题")
  private String title;

  /**
   * 运营中心
   */
  @TableField(value = "`fulfillment_center`")
  @Schema(title = "运营中心")
  private String fulfillmentCenter;

  /**
   * 数量
   */
  @TableField(value = "`quantity`")
  @Schema(title = "数量")
  private Integer quantity;

  /**
   * 原因code
   */
  @TableField(value = "`reason`")
  @Schema(title = "原因code")
  private String reason;

  /**
   * 原因
   */
  @TableField(value = "`reason_text`")
  @Schema(title = "原因")
  private String reasonText;

  /**
   * 库存属性
   */
  @TableField(value = "`disposition`")
  @Schema(title = "库存属性")
  private String disposition;

  /**
   * 类型
   */
  @TableField(value = "`event_type`")
  @Schema(title = "类型")
  private String eventType;

  /**
   * 确定数量
   */
  @TableField(value = "`reconciled_quantity`")
  @Schema(title = "确定数量")
  private Integer reconciledQuantity;

  /**
   * 未确定数量
   */
  @TableField(value = "`unreconciled_quantity`")
  @Schema(title = "未确定数量")
  private Integer unreconciledQuantity;

  /**
   * 站点
   */
  @TableField(value = "`region`")
  @Schema(title = "站点")
  private String region;

  /**
   * 国家编码
   */
  @TableField(value = "`country_code`")
  @Schema(title = "国家编码")
  private String countryCode;
}
